package com.simple.behavior.classandclass.observer;

/**
 * @author simple
 * @version 1.0
 * @date 2019-01-04 17:12
 * @since 1.0
 */
public class Start {
    public static void main(String[] args) {
        Subject subject = new MySubject();
        subject.add(new Observer1());
        subject.add(new Observer2());
        subject.operation();
    }
}
